<?php

include_once(INCLUDES . "Page.php");
include_once(INCLUDES . "Template.php");

class TemplateService {
	
	public function __construct() {
		$GLOBALS['amfphp']['encoding'] = "amf3";
		$_SESSION["admin"] = true;
	}
	
	public function loadTemplates() {
		return Template::findAll();
	}
	
	
}

?>